<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <style>
        /* 自定义表格样式 */
        table {
            overflow-x: auto;
            width: 100%;
            border-collapse: collapse;
            margin: 2px 0;
            box-shadow: 0 0 9px rgba(0, 0, 0, 0.1);
        }

        td {
            font-size: 13px;
            padding: 1px 1px;
            text-align: left;
        }

        th {
            font-size: 15px;
            padding: 1px 1px;
            text-align: left;
            border-bottom: 1px solid #ddd;
            background-color: #f4f4f9;
            color: #333;
            font-weight: 3;
        }

        tr:hover {
            background-color: #f9f9f9;
            transition: background-color 0.3s ease;
        }

        tr:nth-child(even) {
            background-color: #fafafa;
        }

        /* 添加边框 */
        table,
        th,
        td {
            border: 1px solid #e0e0e0;
        }
    </style>
</head>
<body>
<div>
    <table>
        <thead>
        <tr>
            <th>序号</th>
            <th>验收入库单</th>
            <th>磅单号</th>
            <th>供应商</th>
            <th>净重</th>
            <th>货物编码</th>
            <th>货物名称</th>
            <th>规格型号</th>
            <th>推NC重量</th>
            <th>验收长度</th>
            <th>验收宽度</th>
            <th>验收数量</th>
            <th>折算标</th>
            <th>分摊重量</th>
            <th>理论验收重量</th>
        </tr>
        </thead>
        <tbody>
        <#escape x as x! "">
        <#if poArriveorderVoList??>
            <#list poArriveorderVoList as order>
                <tr>
                    <td>${order?counter}</td>
                    <td>
                        <#if order.id??>
                            <#assign length = order.id?length>
                            <#if length gt 10>
                                ${order.id[0..10]}<br>
                                ${order.id[11..]}
                            <#else>
                                ${order.id}
                            </#if>
                        </#if>
                    </td>
                    <td>
                        <#assign length = order.weighingNo?length>
                        <#if length gt 10>
                            ${order.weighingNo[0..10]}<br>
                            ${order.weighingNo[11..]}
                        <#else>
                            ${order.weighingNo}
                        </#if>
                    </td>
                    <td>
                       ${order.supplierName}
                    </td>
                    <td>
                       ${order.packageBuckleHeavy}
                    </td>
                    <td>
                       ${order.materialCode}
                    </td>
                    <td>
                       ${order.materialName}
                    </td>
                    <td>
                       ${order.materialInfo}
                    </td>
                    <td>
                       ${order.inventNum}
                    </td>
                    <td>
                       ${order.length}
                    </td>
                    <td>
                       ${order.width}
                    </td>
                    <td>
                       ${order.height}
                    </td>
                    <td>
                       ${order.conversionStandard}
                    </td>
                    <td>
                        ${order.arriveNum}
                    </td>
                    <td>
                        ${order.theoreticalAcceptanceWeight}
                    </td>
                </tr>
            </#list>
        </#if>
        <tr>
            <td colspan="12">合计</td>
            <td>
                ${splitWeightTotal}
            </td>
            <td>
                ${theoreticalTotal}
            </td>
        </tr>
        </tbody>
        </#escape>
    </table>
</div>
</body>
</html>